﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Web;
using System.Xml.Serialization;

namespace TrainingManagement.api.Models.BusinessObjects
{
    [DataContract]
    public class TrainingRecord
    {
        [DataMember]
        public int TrainingRecordId { get; set; }

        [DataMember]
        public int EmployeeId { get; set; }

        [DataMember]
        public DateTime DueDate { get; set; }

        [DataMember]
        public DateTime? CompletedDate { get; set; }

        [DataMember]
        public int InspectedBy { get; set; }

        [DataMember]
        public Skill Skill { get; set; }
        
        [XmlIgnore]
        public int SkillId { get; set; }
    }
}